package com.acme.bankapp.domain.bank;

public class Client {

	private Account account;
	private String name;
	private Gender gender; 

	public Client(String name, Gender gen, Account account) {
		this.gender = gen;
		this.name = name;
		this.account = account; 
	}

	public String getTitle() {
		return gender.title;
	}
	
	public String getName() {
		return name;
	}

	public String getClientSalutation() {
		return "Hello " + getTitle() + name;
	}

	public Account getAccount() {
		return account;
	}

}
